package mn.idax.exchange.otc.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class OTCAds implements Serializable {
    private Integer id;

    private Integer publisherid;

    private Integer pairid;

    private String pairname;

    private BigDecimal price;

    private BigDecimal minamount;

    private BigDecimal maxamount;

    private String description;

    private String remark;

    private String welcomenote;

    private String endnote;

    private Boolean iscertificate;

    private Integer state;

    private Date expiretime;

    private Integer type;

    private Integer publishsource;

    private Date publishtime;

    private Date createtime;

    private Date updatetime;

    private Integer tradenumber;

    private String unit;

    private Boolean isfloating;

    private BigDecimal floatingrate;

    private BigDecimal minprice;

    private BigDecimal maxprice;

    private Integer country;

    private String exchange;

    private Boolean isadvancedcertificate;

    private Boolean ismoible;

    private byte[] rowversion;

    private BigDecimal number;

    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPublisherid() {
        return publisherid;
    }

    public void setPublisherid(Integer publisherid) {
        this.publisherid = publisherid;
    }

    public Integer getPairid() {
        return pairid;
    }

    public void setPairid(Integer pairid) {
        this.pairid = pairid;
    }

    public String getPairname() {
        return pairname;
    }

    public void setPairname(String pairname) {
        this.pairname = pairname == null ? null : pairname.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getMinamount() {
        return minamount;
    }

    public void setMinamount(BigDecimal minamount) {
        this.minamount = minamount;
    }

    public BigDecimal getMaxamount() {
        return maxamount;
    }

    public void setMaxamount(BigDecimal maxamount) {
        this.maxamount = maxamount;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getWelcomenote() {
        return welcomenote;
    }

    public void setWelcomenote(String welcomenote) {
        this.welcomenote = welcomenote == null ? null : welcomenote.trim();
    }

    public String getEndnote() {
        return endnote;
    }

    public void setEndnote(String endnote) {
        this.endnote = endnote == null ? null : endnote.trim();
    }

    public Boolean getIscertificate() {
        return iscertificate;
    }

    public void setIscertificate(Boolean iscertificate) {
        this.iscertificate = iscertificate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getExpiretime() {
        return expiretime;
    }

    public void setExpiretime(Date expiretime) {
        this.expiretime = expiretime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPublishsource() {
        return publishsource;
    }

    public void setPublishsource(Integer publishsource) {
        this.publishsource = publishsource;
    }

    public Date getPublishtime() {
        return publishtime;
    }

    public void setPublishtime(Date publishtime) {
        this.publishtime = publishtime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Integer getTradenumber() {
        return tradenumber;
    }

    public void setTradenumber(Integer tradenumber) {
        this.tradenumber = tradenumber;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public Boolean getIsfloating() {
        return isfloating;
    }

    public void setIsfloating(Boolean isfloating) {
        this.isfloating = isfloating;
    }

    public BigDecimal getFloatingrate() {
        return floatingrate;
    }

    public void setFloatingrate(BigDecimal floatingrate) {
        this.floatingrate = floatingrate;
    }

    public BigDecimal getMinprice() {
        return minprice;
    }

    public void setMinprice(BigDecimal minprice) {
        this.minprice = minprice;
    }

    public BigDecimal getMaxprice() {
        return maxprice;
    }

    public void setMaxprice(BigDecimal maxprice) {
        this.maxprice = maxprice;
    }

    public Integer getCountry() {
        return country;
    }

    public void setCountry(Integer country) {
        this.country = country;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange == null ? null : exchange.trim();
    }

    public Boolean getIsadvancedcertificate() {
        return isadvancedcertificate;
    }

    public void setIsadvancedcertificate(Boolean isadvancedcertificate) {
        this.isadvancedcertificate = isadvancedcertificate;
    }

    public Boolean getIsmoible() {
        return ismoible;
    }

    public void setIsmoible(Boolean ismoible) {
        this.ismoible = ismoible;
    }

    public byte[] getRowversion() {
        return rowversion;
    }

    public void setRowversion(byte[] rowversion) {
        this.rowversion = rowversion;
    }
}